<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>帮帮网-活动详细信息</title>
</head>
<body>
<?php
require_once("../sqlConn.php");
$activityId=$_GET['activityId'];
GetActivityInfo($activityId);
function GetActivityInfo($activityId)
{
	connectDB();	
	$sql="select id,title,createTime,lastDays,maxNum,detailInfo,description from activity where id=$activityId";
	$res=mysql_query($sql);
	if($row=mysql_fetch_array($res))
	{
?>
<div id="title">
<?php echo $row[1] ?>
</div>
<div id="detail">
活动详情：<br />
<?php echo $row[5] ?>
</div>
<div id="desc">
活动说明：
<?php echo $row[6] ?>
</div>

<?php
	}
}
?>
</body>
</html>